package com.kanasco.vision.service;

import java.util.ArrayList;
import java.util.List;

import bb.access.po.CustomerVendorAddressInfo;
import bb.access.po.Part;
import bb.access.po.PartType;
import bb.access.po.SalesOrder;
import bb.access.po.Term;
import bb.access.po.Unit;

import com.kanasco.vision.dao.ISalesDao;
import com.kanasco.vision.model.Sales;




public class SalesServiceImpl implements ISales
{
 ISalesDao dao;

public void setDao(ISalesDao dao) {
	this.dao = dao;
}
public boolean create(SalesOrder sales)
{
	return dao.create(sales);
	
}

public List<String> getIncoTerm() {
	
	return dao.getIncoTerm();
}

public List<String> getSalesCode() {
	
	return dao.getSalesCode();
}

public List<String> getCurrency() {
	
	return dao.getCurrency();
}

public boolean update(SalesOrder sales) {

	return dao.update(sales);
}

public List<CustomerVendorAddressInfo> getCustList() {
	
	return dao.getCustList();
}

public CustomerVendorAddressInfo load(String id) {
	return dao.load(id);
}

public boolean Save(Term term) {
	
	return dao.Save(term);
}

public List<Integer> getTermsList() {
	
	return dao.getTermList();
}

public List<String> getProjectList() {
	
	return dao.getProjectList();
}

public List<String> getAcctNumList() {
	
	return dao.getAcctList();
}

public List<String> getItemType() {

	return dao.getItemType();
}

public List<String> getItemUOM() {

	return dao.getItemUOM();
}

public List<String> getCustInfo(String id) {
	
	return dao.getCustInfo(id);
}


}